package test

import dao.ResultHBaseDao
import org.apache.hadoop.hbase.client.Put

/**
  * Created by chenjianwen on 2016/3/10.
  *
  * 测试
  */
object test_dao {
  def main(args: Array[String]) {
    val resDao = new ResultHBaseDao()
    resDao.createTableWithOverWrite("test_dao",List("c1","c2"))
    resDao.insertRow("wen123","c1","name","test_dao","wenge")
    resDao.insertRow("wen123","c1","sex","test_dao","mail")
    resDao.insertRow("wen123","c2","socre","test_dao","12")
    val put = new Put("hhe".getBytes)
  }
}
